package com.io.test;
import java.io.*;
public class Reader1 {
		public static void main(String[] args) {
			Reader fw=null;		//1
			int length=0;
			char ch[]=null;
			try {
				fw = new FileReader(" d:\\test. txt"); //2
				ch=new char [1024];
				//3
				length=fw. read (ch) ;
				//4
				System. out. println(new String (ch, 0, length));
			}catch (IOException e) {
				e. printStackTrace();
			}finally {
				//�˴�ʡ�Թر���
			}
		
		}
}
